Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
12 176

Files

Files Errors
sthis/lucene/LuceneException.java 6
sthis/lucene/xml/IndexFiles.java 14
sthis/lucene/xml/SearchFiles.java 15
sthis/lucene/xml/XMLDocumentHandlerDOM.java 113
sthis/lucene/xml/XMLDocumentHandlerSAX.java 28

sthis/lucene/LuceneException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 22
Parameter message should be final. 61
Parameter cause should be final. 70
Parameter message should be final. 80
Parameter cause should be final. 80

sthis/lucene/xml/IndexFiles.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 22
Utility classes should not have a public or default constructor. 60
Parameter writer should be final. 73
Parameter file should be final. 73
Line has trailing spaces. 74
Parameter indexPath should be final. 102
Parameter filePath should be final. 102
Unable to get class information for LuceneException. 103
Line is longer than 80 characters. 112
Must have at least one statement. 127
Parameter indexPath should be final. 141
Parameter keyId should be final. 141
Unable to get class information for LuceneException. 142

sthis/lucene/xml/SearchFiles.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 22
Utility classes should not have a public or default constructor. 60
Line contains a tab character. 70
Line contains a tab character. 71
Line has trailing spaces. 72
Line contains a tab character. 72
Parameter indexPath should be final. 74
Expected @param tag for 'indexPath'. 74
Parameter keyWords should be final. 74
Expected @param tag for 'keyWords'. 74
Expected @throws tag for 'LuceneException'. 75
Unable to get class information for LuceneException. 75
Name 'HITS_PER_PAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 91
Must have at least one statement. 114

sthis/lucene/xml/XMLDocumentHandlerDOM.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 23
Using the '.*' form of import should be avoided - org.w3c.dom.*. 40
Using the '.*' form of import should be avoided - javax.xml.parsers.*. 45
Method 'createXMLDocument' is not designed for extension - needs to be abstract, final or empty. 64
Parameter f should be final. 64
Expected @param tag for 'f'. 64
Line is longer than 80 characters. 65
Parameter node should be final. 87
Expected @param tag for 'node'. 87
Line is longer than 80 characters. 88
Parameter document should be final. 88
Expected @param tag for 'document'. 88
Line contains a tab character. 99
Line contains a tab character. 100
Line contains a tab character. 101
Line contains a tab character. 114
Line is longer than 80 characters. 115
Line contains a tab character. 115
Line contains a tab character. 116
Line is longer than 80 characters. 117
Line contains a tab character. 117
Line contains a tab character. 118
Line is longer than 80 characters. 120
Line contains a tab character. 120
Line is longer than 80 characters. 122
Line contains a tab character. 122
Line contains a tab character. 123
Line contains a tab character. 124
Line contains a tab character. 125
Line contains a tab character. 126
Line is longer than 80 characters. 128
Line contains a tab character. 128
Line contains a tab character. 129
Line contains a tab character. 130
Line is longer than 80 characters. 131
Line contains a tab character. 131
Line contains a tab character. 132
Line is longer than 80 characters. 133
Line contains a tab character. 133
Line contains a tab character. 134
Line contains a tab character. 135
Line contains a tab character. 136
Line is longer than 80 characters. 137
Line contains a tab character. 137
Line contains a tab character. 138
Line is longer than 80 characters. 139
Line contains a tab character. 139
Line contains a tab character. 140
Line contains a tab character. 141
Line is longer than 80 characters. 142
Line contains a tab character. 142
Line contains a tab character. 143
Line is longer than 80 characters. 144
Line contains a tab character. 144
Line contains a tab character. 145
Line contains a tab character. 146
Line contains a tab character. 147
Line contains a tab character. 148
Line contains a tab character. 149
Line is longer than 80 characters. 150
Line contains a tab character. 150
Line contains a tab character. 151
Line is longer than 80 characters. 153
Line contains a tab character. 153
Line contains a tab character. 154
Line is longer than 80 characters. 155
Line contains a tab character. 155
Line contains a tab character. 156
Line contains a tab character. 157
Line contains a tab character. 158
Line contains a tab character. 159
Line contains a tab character. 160
Line is longer than 80 characters. 161
Line contains a tab character. 161
Line contains a tab character. 162
Line contains a tab character. 163
Line is longer than 80 characters. 164
Line contains a tab character. 164
Line contains a tab character. 165
Line is longer than 80 characters. 166
Line contains a tab character. 166
Line contains a tab character. 167
Line contains a tab character. 168
Line contains a tab character. 169
Line contains a tab character. 170
Line contains a tab character. 171
Line is longer than 80 characters. 172
Line contains a tab character. 172
Line contains a tab character. 173
Line contains a tab character. 174
Line is longer than 80 characters. 175
Line contains a tab character. 175
Line contains a tab character. 176
Line is longer than 80 characters. 177
Line contains a tab character. 177
Line contains a tab character. 178
Line contains a tab character. 179
Line contains a tab character. 180
Line contains a tab character. 181
Line contains a tab character. 182
Line is longer than 80 characters. 183
Line contains a tab character. 183
Line contains a tab character. 184
Line contains a tab character. 185
Line is longer than 80 characters. 186
Line contains a tab character. 186
Line contains a tab character. 187
Line is longer than 80 characters. 188
Line contains a tab character. 188
Line contains a tab character. 189
Line contains a tab character. 190
Line contains a tab character. 191

sthis/lucene/xml/XMLDocumentHandlerSAX.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 22
Using the '.*' form of import should be avoided - org.xml.sax.*. 42
Using the '.*' form of import should be avoided - javax.xml.parsers.*. 48
Line is longer than 80 characters. 69
Parameter xmlFile should be final. 79
Line has trailing spaces. 80
Method 'startDocument' is not designed for extension - needs to be abstract, final or empty. 95
Missing a Javadoc comment. 95
Line is longer than 80 characters. 100
Method 'startElement' is not designed for extension - needs to be abstract, final or empty. 104
Missing a Javadoc comment. 104
Parameter uri should be final. 104
Parameter localName should be final. 104
Parameter qName should be final. 104
Parameter attributes should be final. 105
Method 'characters' is not designed for extension - needs to be abstract, final or empty. 115
Missing a Javadoc comment. 115
Parameter text should be final. 115
Parameter start should be final. 115
Parameter length should be final. 115
Line is longer than 80 characters. 120
Method 'endElement' is not designed for extension - needs to be abstract, final or empty. 124
Missing a Javadoc comment. 124
Parameter uri should be final. 124
Parameter localName should be final. 124
Parameter qName should be final. 124
Method 'getDocument' is not designed for extension - needs to be abstract, final or empty. 137